home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000358_fdc@columbia.edu_Thu Oct 30 12:48:23 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: How do I pass a password in a kermit script
  5. Date: 30 Oct 2003 17:35:37 GMT
  6. Organization: Columbia University
  7. Lines: 23
  8. Message-ID: <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu>
  9. References: <f0bb0f39.0310300922.3c050ba8@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1067535337 27275 128.59.59.56 (30 Oct 2003 17:35:37 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 30 Oct 2003 17:35:37 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14612
  17.  
  18. In article <f0bb0f39.0310300922.3c050ba8@posting.google.com>,
  19. newexpectuser wrote:
  20. : I have a kermit script that logs onto a secure ftp server (via ssh),
  21. : when I issue the open command, it waits for a password.
  22. : How can I pass this password from within the kermit script, so it
  23. : automatically logs me on ?
  24. : Also, is there a way to check if I cannot make a connection ?
  25. Last first: Only by trying it.
  26.  
  27. As to the password, see:
  28.  
  29.   http://www.columbia.edu/kermit/ckermit80.html#x2.1
  30.  
  31. Briefly, SSH is an "external transport protocol" to C-Kermit.  It is the
  32. external SSH program that is prompting you for the password, and there is
  33. usually no way to script it; it depends on the SSH client.  The only sure
  34. way to avoid a password prompt is to set up public-private key pairs to
  35. allow login without a password, but this has its own risks.
  36.  
  37. - Frank
  38.